#define _CRT_SECURE_NO_WARNINGS 1
#include"heap.h"
int main() {


	int a[] = { 1,5,3,2, 67};
	Heap hp;
	Inite(&hp);
	for (int i = 0; i < sizeof(a) / sizeof(a[0]); i++) {
		Push(&hp, a[i]);



	}
	while (!Empty(&hp))
	{
		printf("%d  ", hp.a[0]);
		Pop(&hp);
	}
		


	return 0;


}